.class Lcom/waiqin365/lightwork/directory/h;
.super Lcom/waiqin365/lightapp/dailyreport/view/y;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/dailyreport/view/y;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Landroid/widget/AbsListView;III)V
    .locals 9

    const/4 v8, 0x0

    const v7, 0x7f0c0202

    const/16 v6, 0x8

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->a(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->getHeaderViewsCount()I

    move-result v0

    sub-int v0, p2, v0

    if-ltz v0, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-static {v1}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->d(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)Lcom/waiqin365/lightwork/directory/b/n;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightwork/directory/b/n;->b(I)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v1

    iget-wide v2, v1, Lcom/waiqin365/lightapp/kehu/share/a/c;->t:D

    const-wide v4, 0x40f869f000000000L    # 99999.0

    cmpl-double v1, v2, v4

    if-eqz v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->e(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-static {v1}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->e(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-virtual {v1, v8}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-static {v1}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->e(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)Landroid/widget/TextView;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-static {v2}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->d(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)Lcom/waiqin365/lightwork/directory/b/n;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/waiqin365/lightwork/directory/b/n;->b(I)Lcom/waiqin365/lightapp/kehu/share/a/c;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/share/a/c;->o:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v8}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-static {v0}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->e(Lcom/waiqin365/lightwork/directory/DirectoryActivity;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/directory/h;->a:Lcom/waiqin365/lightwork/directory/DirectoryActivity;

    invoke-virtual {v0, v7}, Lcom/waiqin365/lightwork/directory/DirectoryActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method
